An XPage ViewPanel is 279 times slower than the same web view in Domino
I have a database where I pick information on who is visiting my websites. and I thought I would start moving some of the viewing of the data to XPages.
So I took my default view and moved into a ViewPanel on a XPage, just to have a quick view of the data from a XPages perspective.
The collapsed view loads in about a second, but expanding a category takes a jaw-dropping 25 seconds!
Well actually at first I could not even expand the category since the XPage would time-out, because of the default 20 seconds time-out limit.
Adding this :
<xp:this.properties> <xp:parameter name="xsp.partial.update.timeout" value="60"></xp:parameter> </xp:this.properties>
would solve the time-out problem, but ...25 seconds??
Trying the same view in an "Old School out of the box Domino view":
25,12/0,144=177 times slower in XPages than a standard Domino web view
well getting the actual view data from the server only took 90ms, so it is even worse .
25,12/0,09=279 times slower in XPages than a standard Domino web view for getting the view data.
That is a horrible difference.
The database has about 30.000 documents and the view has 3 categorized columns, so it's really nothing special in that sense.
For XPages not already getting a bad reputation on performance, I suggest IBM start investigating how to get their M in MVC to act together with the rest in way that is actually useful in real world scenarios and not only in demos and POCs
Posted on 11/08/2011 10:45:09 PM CET
Show Comments(1)
Create Comment